﻿using Microsoft.AspNetCore.SignalR.Client;
using System;

namespace ConsoleCoreSignalR
{
    class Program
    {
        private static HubConnection _connection;
        private static string url;
        static void Main(string[] args)
        {
            _connection = new HubConnectionBuilder().WithUrl(url).Build();
            _connection.On<string, string>("broadcastMessage", (s1, s2) => OnSend(s1, s2));

            Console.WriteLine("Hello World!");
        }

        private static void OnSend(string name, string message)
        {
            throw new NotImplementedException();
        }

        private static void SendMessage()
        {

        }
    }
}
